package com.yellowpage.bigdata.data;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * NspFatallogImeiWeekregionSum entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "NSP_FATALLOG_IMEI_WEEKREGION_SUM")
public class NspFatallogImeiWeekregionSum implements java.io.Serializable {

	// Fields

	private Integer fatallogImeiWeekregionSumId;
	private String logWeek;
	private String regionCode;
	private String requestType;
	private Integer imeiWeekCount;
	private Integer imeiAllCount;
	private Integer imeiNewCount;
	private Integer createUser;
	private Date createTime;
	private String note;
	private Integer total;
	private Integer himei;
	private Integer noimei;

	// Constructors

	/** default constructor */
	public NspFatallogImeiWeekregionSum() {
	}

	/** full constructor */
	public NspFatallogImeiWeekregionSum(String logWeek, String regionCode,
			String requestType, Integer imeiWeekCount, Integer imeiAllCount,
			Integer imeiNewCount, Integer createUser, Date createTime,
			String note,Integer total,Integer himei,Integer noimei) {
		this.logWeek = logWeek;
		this.regionCode = regionCode;
		this.requestType = requestType;
		this.imeiWeekCount = imeiWeekCount;
		this.imeiAllCount = imeiAllCount;
		this.imeiNewCount = imeiNewCount;
		this.createUser = createUser;
		this.createTime = createTime;
		this.note = note;
		this.total = total;
		this.himei = himei;
		this.noimei = noimei;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "FATALLOG_IMEI_WEEKREGION_SUM_ID", unique = true, nullable = false)
	public Integer getFatallogImeiWeekregionSumId() {
		return this.fatallogImeiWeekregionSumId;
	}

	public void setFatallogImeiWeekregionSumId(
			Integer fatallogImeiWeekregionSumId) {
		this.fatallogImeiWeekregionSumId = fatallogImeiWeekregionSumId;
	}

	@Column(name = "LOG_WEEK", length = 64)
	public String getLogWeek() {
		return this.logWeek;
	}

	public void setLogWeek(String logWeek) {
		this.logWeek = logWeek;
	}

	@Column(name = "REGION_CODE", length = 10)
	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	@Column(name = "REQUEST_TYPE", length = 10)
	public String getRequestType() {
		return this.requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	@Column(name = "IMEI_WEEK_COUNT")
	public Integer getImeiWeekCount() {
		return this.imeiWeekCount;
	}

	public void setImeiWeekCount(Integer imeiWeekCount) {
		this.imeiWeekCount = imeiWeekCount;
	}

	@Column(name = "IMEI_ALL_COUNT")
	public Integer getImeiAllCount() {
		return this.imeiAllCount;
	}

	public void setImeiAllCount(Integer imeiAllCount) {
		this.imeiAllCount = imeiAllCount;
	}

	@Column(name = "IMEI_NEW_COUNT")
	public Integer getImeiNewCount() {
		return this.imeiNewCount;
	}

	public void setImeiNewCount(Integer imeiNewCount) {
		this.imeiNewCount = imeiNewCount;
	}

	@Column(name = "CREATE_USER")
	public Integer getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CREATE_TIME", length = 0)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "NOTE", length = 128)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	@Column(name = "TOTAL")
	public Integer getTotal() {
		return this.total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}
	@Column(name = "HIMEI")
	public Integer getHimei() {
		return this.himei;
	}

	public void setHimei(Integer himei) {
		this.himei = himei;
	}
	@Column(name = "NOIMEI")
	public Integer getNoimei() {
		return this.noimei;
	}

	public void setNoimei(Integer noimei) {
		this.noimei = noimei;
	}
	
}